import cache from "@/utils/cache";

/**
 * 可拖拽模块和组件登记注册
 */
export default {
	moduleGroups: [
		{
			code: "system",
			name: "系统模块",
			items: [
				{type: "m-empty", name: "空模块"},
				{type: "m-tabs", name: "标签页"}
			]
		}
	],
	widgetGroups: [
		{
			code: "data",
			name: "数据组件",
			items: [
				{type: 'dy-card', name: '默认'},
				{type: 'w-table', name: '表格'},
			]
		},
		{
			code: "content",
			name: "内容组件",
			items: [
				{type: 'dy-steps', name: '导航条'},
			]
		},
		{
			code: "custom",
			name: "定制组件",
			items: [
				{type: 'dy-table', name: '单据表格'},
				{type: 'dy-flow', name: '审批记录'},
				{type: 'dy-flow-model', name: '流程节点'},
				{type: 'w-asset-log', name: '资产履历'},
				{type: 'w-asset-accessory', name: '资产配件'},
				{type: 'w-asset-change-info', name: '变动信息'},
			]
		}
	],
}
